from pydantic import BaseModel

# coding: utf-8
from sqlalchemy import Column, ForeignKey, Integer, String, TIMESTAMP, Table
from sqlalchemy.orm import relationship
from models.base import Base

metadata = Base.metadata

admin_user_roles = Table(
    'admin_user_roles', metadata,
    Column('admin_user_id', ForeignKey('admin_users.id'), index=True),
    Column('role_id', ForeignKey('roles.id'), index=True)
)
